//
//  GDBusStationNumber.m
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/13.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//

#import "GDBusStationNumber.h"

@implementation GDBusStationNumber

+(instancetype)stationBusWithDic:(NSDictionary *)dic{
    return [[self alloc] initWithDic:dic];
}

-(instancetype)initWithDic:(NSDictionary *)dic{
    if (self = [super init]) {
        
        _Id = dic[@"Id"];
        _Name = dic[@"Name"];
        _FromStation = dic[@"FromStation"];
        _ToStation = dic[@"ToStation"];
        _BeginTime = dic[@"BeginTime"];
        _StationCount = dic[@"StationCount"];
        _EndTime = dic[@"EndTime"];
        _Price = dic[@"Price"];
        _LineNumber = dic[@"LineNumber"];
    }
    return self;
}

@end
